<?php
include_once BONE_ROOT.DS.APP_DIR.DS.'templates'.DS.'user'.DS.'user.php';

class template_listing extends template_user
{

	protected function head()
	{
	?>
<script type="text/javascript" language="javascript" src="../js/pagination.class.js"></script>

<link type="text/css" rel="stylesheet" href="templates/user/css/listing.css" />
<script type="text/javascript" language="javascript" src="templates/user/js/listing.js"></script>
	<?php
	}

	protected function center()
	{
		$this->toolbar();
		?>

<div class="box">
	<div class="box-tl"><div class="box-tr"><div class="box-tm"></div></div></div>	
	<div class="box-m">
		<p class="search-user">
		关健字: <input type="text" id="key"> <input type="button" onclick="javascript:searchUser();" value="搜索" /> <input type="button" onclick="javascript:$('#key').val('');searchUser();" value="重置" />
		</p>
		
		<table class="list-table">
		<thead>
		<tr>
			<th align="left">用户名</th>
			<th width="80">名称</th>
			<th width="200">邮箱</th>
			<th width="120">注册时间</th>
			<th width="120">最近登陆</th>
			<th width="60">后台权限</th>
			<th width="40">启用</th>
			<th width="40">修改</th>
			<th width="40">删除</th>
		</tr>
		</thead>
		
		<tbody id="user-list"></tbody>
		
		<tfoot>
		<tr>
			<td colspan="9">
			<div id="pagination-nav"></div>
			</td>
		</tr>
		</tfoot>
		</table>

	</div>
	<div class="box-bl"><div class="box-br"><div class="box-bm"></div></div></div>
</div>
		

		<?php
		
	}	

}
?>